 var w=window.innerWidth;
var h=window.innerHeight;
var s=window.screen;
var sh=s.availHeight;
var sw=s.availWidth;
alert("width : "+w+" Heigth: "+h+" Swidth :"+sw+" sheigth: "+sh);